Filters the view on the server side using a predicate.
Namespace:
C1.DataAssembly: C1.Data.Entity (in C1.Data.Entity.dll)
Syntax
C# |
---|
public virtual ClientView<T> AsFiltered( Expression<Func<T, bool>> predicate ) |
Visual Basic |
---|
Public Overridable Function AsFiltered ( _ predicate As Expression(Of Func(Of T, Boolean)) _ ) As ClientView(Of T) |
Parameters
- predicate
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, Boolean>)>)>>)>)>
A function to apply each element to test the condition.